package com.shenrongrong.mapper;

import com.shenrongrong.model.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GoodsMapper {
    public List<Goods> selectAllGoods(Goods goods);
    public int insertGoods(Goods goods);
    public int deleteGoods(Integer goodid);
    public List<Map<String,String>> selectByClassification(Integer userid);
    public int updateGoodsNumber(Integer goodid,Integer number);
    public int updateGoods(Goods goods);
}
